package org.springcloud.wisdom.amusement.login.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
//管理员
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("wisdom.admin")
public class Admin {
    //主键
    @TableId(type = IdType.AUTO,value = "wisdom.admin.aid")
    private Integer aid;
    //商家名
    @TableField("wisdom.admin.aname")
    private String aname;
    //密码
    @TableField("wisdom.admin.apassword")
    private String apassword;
    //电话号
    @TableField("wisdom.admin.aphone")
    private String aphone;
    //头像
    @TableField("wisdom.admin.aphotourl")
    private String aphotourl;
}
